<?php

class showErro
{
	
	public $objBd;

    public function __construct($db)
    {
        $this->objBd = $db;
    }
	
	public function semErros()
	{
		if( $this->objBd->ErrorMsg() != '' )
		{
	    	die( $this->objBd->ErrorMsg() );
		}		
		
		return true;
	}	
	
	
	
}

?>